package models;

import javax.persistence.Column;
import javax.persistence.Entity;
import javax.persistence.Id;
import javax.persistence.Table;

import play.db.jpa.Model;

/**
 * 实体类 - 友情链接类
 * */
@Entity
@Table(name="blogroll")
public class Blogroll extends Model{

	@Column(name="blo_url",length=150)
	public String bloUrl;     //链接地址
	@Column(name="blo_logo",length=50)
	public String bloLogo;    //网站logo
	@Column(name="blo_tit",length=50)
	public String bloTit;     //网站名称
	
	public String toString(){
		return bloTit;
	}
}
